package com.ruoyi.merchant.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 快递地址对象 ims_express_info
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class ImsExpressInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 快递地址 */
    @Excel(name = "快递地址")
    private String expressAddr;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 用户ID */
    private Integer userId;

    /**类型 1 供应商 2 客户单位 3 个人中心*/
    private Integer expressType;

    private Integer supplierUnitId;//供应商单位id

    private Integer cusUnitId;//客户单位id

    public Integer getCusUnitId() {
        return cusUnitId;
    }

    public void setCusUnitId(Integer cusUnitId) {
        this.cusUnitId = cusUnitId;
    }

    public Integer getSupplierUnitId() {
        return supplierUnitId;
    }

    public void setSupplierUnitId(Integer supplierUnitId) {
        this.supplierUnitId = supplierUnitId;
    }

    public Integer getExpressType() {
        return expressType;
    }

    public void setExpressType(Integer expressType) {
        this.expressType = expressType;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setExpressAddr(String expressAddr) 
    {
        this.expressAddr = expressAddr;
    }

    public String getExpressAddr() 
    {
        return expressAddr;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("expressAddr", getExpressAddr())
            .append("telephone", getTelephone())
            .toString();
    }
}
